package com.mes.controller.manu;

import com.wms.service.OutofstockService;
import com.yy.base.page.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("FlyingColors")
public class FlyingColorsController {
	@Autowired
	private OutofstockService outofstockservice;
	
	 
	//加载所有领料出库明细(不包含大底的)
	@ResponseBody
	@RequestMapping(value="OutConfirmList",method= RequestMethod.POST)
	public Message outConfirmList(HttpServletRequest request){
		Message msg = new Message();

		String ok = "NO";
			
		msg.setData("Stocks",outofstockservice.getSparepartsList(ok));
		
		
		return msg;
	}

  		
}
	
	
	
	
